package com.masterclient.app.modules.income.dealer.model;

import com.contrarywind.interfaces.IPickerViewData;
import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class DealerBankCardMoreBean implements Serializable {
    @SerializedName("real_name")
    public String realName;
    @SerializedName("id_no")
    public String idNo;
    @SerializedName("bank_list")
    public List<BankBean> bankList;

    public class BankBean implements Serializable , IPickerViewData {
        @SerializedName("bankcard_cert_id")
        public String bankcardCertId;
        @SerializedName("full_name")
        public String fullName;
        @SerializedName("short_name")
        public String shortName;
        @SerializedName("cardbg")
        public String cardBg;

        @Override
        public String getPickerViewText() {
            return shortName;
        }
    }
}
